<?php 
/**
 * @package WordPress
 * @subpackage Webbdesign
 */
 ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<?php  // solves google duplicate content problem
if ( ( is_single() || is_page() || is_home() ) && ( !is_paged() ) ) { ?>
   	<meta name="googlebot" content="index,noarchive,follow,noodp" />
    <meta name="robots" content="all,index,follow" />
  	<meta name="msnbot" content="all,index,follow" />
<?php } else { ?>
    <meta name="googlebot" content="noindex,noarchive,follow,noodp" />
    <meta name="robots" content="noindex,follow" />
  	<meta name="msnbot" content="noindex,follow" />
<?php }?> 
<title>
<?php if (is_home()) { bloginfo('name'); echo (' &raquo; '); bloginfo('description'); }
elseif (is_category()) { wp_title('&raquo;', TRUE, 'right');  bloginfo('description'); echo (' &raquo; '); bloginfo('name');}
elseif (is_single()) { wp_title('&raquo;', TRUE, 'right');  bloginfo('description'); echo (' &raquo; '); bloginfo('name');}
elseif (is_404()) {echo _e('Error 404 - Not Found');}
else { wp_title('&raquo;', TRUE, 'right');  bloginfo('description'); echo (' &raquo; '); bloginfo('name');}
?>
</title>
<meta name="description" content="
<?php if (is_home()) { bloginfo('name'); echo (' &raquo; '); bloginfo('description'); echo (' &raquo; '); bloginfo('name');	}
else { wp_title('&raquo;', TRUE, 'right'); bloginfo('description'); }?>" />
<meta name="keywords" content="" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="shortcut icon" type="image/ico" href="<?php bloginfo('template_url'); ?>/favicon.ico" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php wp_enqueue_script('jquery'); ?>
<?php wp_head(); ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/superfish.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/global.js"></script>
</head>
<body>
<div id="container">
<div id="header">
	<div id="rss">
	<a href="<?php bloginfo('rss_url'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/feed.png" alt="Subscribe to <?php bloginfo('name'); ?>" width="64" height="64" /></a>
</div>
<h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
  	<div id="desc"><?php bloginfo('description'); ?></div>
</div><!-- end header -->


<?php wp_page_menu('show_home=1&menu_class=topnav clearfix&sort_column=menu_order'); ?>
<!-- end .navbar -->
